﻿using System.Configuration;

namespace Aquarinum.WebSocket.Server.WinService
{
    public class WebSocketServerConfig
    {
        public string Host => ConfigManagerHelper.Get<string>("websocket_host"); 

        public int TimeOutSeconds => ConfigManagerHelper.Get<int>("conn_timeout_seconds");

        public int RetryTimes => ConfigManagerHelper.Get<int>("retry_times");

        public string Environment => ConfigManagerHelper.Get<string>("environment");

        public string WinserviceDesc => ConfigManagerHelper.Get<string>("winservice_desc");

        public string WinserviceDisplayName => ConfigManagerHelper.Get<string>("winservice_display_name");

        public string WinserviceServiceName => ConfigManagerHelper.Get<string>("winservice_service_name");
     

    }
}